<?php
namespace Member\Model;
use Think\Model;

class WechatQuotaModel extends Model {
	
	
	protected $_auto = array(
			array('update_time', NOW_TIME, self::MODEL_UPDATE, 'string'),
	);
	
	function init($appid) {
		$data['uid']   = UID;
		$data['appid'] = $appid;
		$data['create_time'] = NOW_TIME;
		$data['connect'] = 10000;
		$data['request'] = 500;
		$this->add($data);
	}
}